package com.amumu.drama.common.modules.yipay.config;

import lombok.Data;
import org.springframework.context.annotation.Configuration;

/**
 * @author sunzhuang
 * @date 2024/6/18 17:04
 * @slogan 天下风云出我辈, 一入代码岁月催
 * @desc
 */

@Data
@Configuration
public class YipayConfig {

    /** 页面跳转支付 */
    private String yipayFrontUrl = "https://pay.myzfw.com/submit.php";


    /* 后台支付接口 */
    private String yipayUrl = "https://pay.myzfw.com/mapi.php";


    /** 查询单个订单 */
    private String yipayOrderQueryUrl = "https://pay.myzfw.com/api.phpact=order&pid={商户ID}&key={商户密钥}&out_trade_no={商户订单号}";


    /** 提交订单退款 */
    private String yipayRefundUrl = "https://pay.myzfw.com/api.php?act=refund";


    private Integer pid = 12504;

    private String key = "WQ4bxRZ9xq404x1XXMFxq71fwk0f8971";


    private String notifyUrl = "https://wewanjia.com/app/api/v1/payment/notify";

    private String clientIp = "47.113.124.224";


    private String signType = "MD5";


}
